![]() |
PATH![]() |
![]() ![]() |
Obtains the maximum setting of a control.
pascal SInt32 GetControl32BitMaximum (
ControlHandle theControl);
Your application may use the
GetControl32BitMaximum
function to obtain a 32-bit value previously set with the function
SetControl32BitMaximum
.
If your application uses a 32-bit control maximum value, it should not attempt to obtain this value by calling the pre-Mac OS 8.5 function GetControlMaximum or by accessing the contrlMax field of the ControlRecord structure, because the stored 16-bit value will not accurately reflect the current 32-bit control value.